import router from '@system.router';
import LogUtil from '../../../common/baseUtil/LogUtil.js';

let logUtil = new LogUtil();

export default {
    props: {
        parentData: {
            default: '',
        },
        listShow: {
            default: true,
        }
    },
    data: {
    },
    onclick(e) {
        logUtil.info('setting mainListComponent onclick start: ' + JSON.stringify(e.detail.text));
        logUtil.info(JSON.stringify(e.detail.text.settingUri));
        router.push({
            uri: e.detail.text.settingUri,
            params: {
                dataParam: e.detail.text,
            }
        });
    }
}